package com.bond.cloud.controller;

import com.bond.cloud.po.TestData;
import com.bond.cloud.producer.SeataTransactionServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
public class SeataTransactionController {


    @Autowired
    private SeataTransactionServiceImpl service;

    @GetMapping("seataTransaction")
    public TestData save() {
        return service.seataTransaction();
    }


}
